import Vue from 'vue'
import Router from 'vue-router'
import HelloWorld from '@/components/HelloWorld'
import navbar from '../components/navbar'
import sentence from '../components/sentence'
import proverb from '../components/proverb'
import grammar from '../components/grammar'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'HelloWorld',
      component: HelloWorld
    },
    {
      path: '/navbar',
      name: 'navbar',
      component: navbar
    },
    {
      path: '/proverb',
      name: 'proverb',
      component: proverb
    },
    {
      path: '/sentence',
      name: 'sentence',
      component: sentence
    },
    {
      path: '/grammar',
      name: 'grammar',
      component: grammar
    }
  ]
})
